const user = require("../sql/user");
const sql = require("../sql/index");

exports.reheaderimgse = function () {
    return (req, res, next) => {
        sql.get(user, {}, data => {
            res.send(JSON.stringify({
                age: data[0].username,
            }));
        })

    }
}